package com.zhoutao.blog.seven.model.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book {

    public static final Book EMPTY = new Book();

    static {
        EMPTY.setId(0L)
                .setBookKey("NOT_FOUND")
                .setOrdinal(0)
                .setBookName("未知书籍")
                .setRemark("123")
                .setReadCount(0);
    }

    private Long id;

    private String bookKey;

    private String bookName;

    private String coverUrl;

    private String remark;

    private String link;

    private Integer readCount = 100;

    private Integer ordinal = 1;

    private String createdAt = "2022-03-01";
}
